package com.jcfk.system.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.jcfk.common.business.entity.BaseEntity;
import lombok.Data;

/**
 * 字典项
 */
@Data
@TableName("sys_dictionary_item")
public class SysDictionaryItem extends BaseEntity {

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    private Long version;

    /**
     * 字典编码
     */
    @TableField(value = "dictionary_code")
    private String dictionaryCode;

    /**
     * 字典项值
     */
    @TableField(value = "item_value")
    private String itemValue;

    /**
     * 字典项标签
     */
    @TableField(value = "item_label")
    private String itemLabel;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 删除标志
     */
    @TableField(value = "deleted")
    private Integer deleted;

    /**
     * 启用标志
     */
    @TableField(value = "enabled")
    private Integer enabled;


    @TableField(value = "remarks")
    private String remarks = "";
}
